package com.weixin.entity;

import java.sql.Timestamp;

/**
 * ReceivingEvent entity. @author MyEclipse Persistence Tools
 */

public class ReceivingEvent implements java.io.Serializable {

	// Fields

	private String fromUserName;
	private String toUserName;
	private Timestamp createTime;
	private String event;
	private String msgtype;

	// Constructors

	/** default constructor */
	public ReceivingEvent() {
	}

	/** minimal constructor */
	public ReceivingEvent(String fromUserName) {
		this.fromUserName = fromUserName;
	}

	/** full constructor */
	public ReceivingEvent(String fromUserName, String toUserName,
			Timestamp createTime, String event, String msgtype) {
		this.fromUserName = fromUserName;
		this.toUserName = toUserName;
		this.createTime = createTime;
		this.event = event;
		this.msgtype = msgtype;
	}

	// Property accessors

	public String getFromUserName() {
		return this.fromUserName;
	}

	public void setFromUserName(String fromUserName) {
		this.fromUserName = fromUserName;
	}

	public String getToUserName() {
		return this.toUserName;
	}

	public void setToUserName(String toUserName) {
		this.toUserName = toUserName;
	}

	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public String getEvent() {
		return this.event;
	}

	public void setEvent(String event) {
		this.event = event;
	}

	public String getMsgtype() {
		return this.msgtype;
	}

	public void setMsgtype(String msgtype) {
		this.msgtype = msgtype;
	}

}